
<h1>List Users</h1>
<ul>
    <% for user in @all_users %>
        <li><%=
                link_to "[X]", {# link_to options
                  :controller => 'login',
                  :action => 'delete_user',
                  :id => user},
                {# htlm options
                  :method => :post,
                  :confirm => "Really delete #{user.name}?"
                }%>
            <%= h(user.name) %>
        </li>
    <% end %>
</ul>
